Using the selector tool, I clicked on the star shape. Next, I clicked on the "text on a path" tool and began tying. The type took the form of the shape's outline.

text-on-path.jpg